#ifndef HEADERIMAGEPAINTER_H
#define HEADERIMAGEPAINTER_H

#include "../ChatMessageUI.h"

#include <QPixmap>

class CChatMessageFramePainter : public ChatMessageUIPainterDoctor
{
public:
    CChatMessageFramePainter();
    virtual ~CChatMessageFramePainter(void) ;

public:
    virtual void PainterContexnt(QPainter&);

public:
    static QPixmap Pixmap2Round(QPixmap& src, int radius);

protected:
    void PainterFrame(void);

private:
    QPixmap m_pHeadImage;

};

#endif // HEADERIMAGEPAINTER_H
